home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4814 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.2 KB  |  35 lines

  1. Path: harbinger.cc.monash.edu.au!amarks
  2. From: amarks@insect.sd.monash.edu.au (Andy Marks)
  3. Newsgroups: comp.lang.c++
  4. Subject: BC++ 4.5: Redirection with stdin/stdout
  5. Date: 1 Feb 1996 06:31:22 GMT
  6. Organization: Monash University
  7. Message-ID: <4epmnq$a29@harbinger.cc.monash.edu.au>
  8. NNTP-Posting-Host: insect.sd.monash.edu.au
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi All,
  12.  
  13. I've just started looking at Borland C++ 4.5 and will be using it to
  14. teach 1st-year computing students this year.  My problem is this:
  15. with the Windows-only IDE, I cannot find a way to do good-old fashioned
  16. DOS command line redirection along the lines of:
  17.  
  18. forbar.exe < input.dat > output.txt
  19.  
  20. we used this technique for testing student programs.  Is there anyway
  21. of doing this using BC++ 4.5, or is there another (easy - so 1st-years
  22. can do it) way of accomplishing the same result.
  23.  
  24. I probably should have mentioned that all the applications developed will
  25. be EasyWin apps.
  26.  
  27. Thanks in advance for any replies (please email!).
  28.  
  29.  
  30. --
  31. |    _______           Andy Marks (amarks@insect.sd.monash.edu.au)
  32. |\0   o>_/                Software Development - Monash University
  33. |_|>   | \       <a href="http://www.sd.monash.edu.au/~amarks">  
  34. |/             "The comfort you demanded is now MANDATORY" - Jello
  35.